#include "ohlcv.h"
#include <QtGui>

OHLCVItem::OHLCVItem(QString *stockName, double open, double high, double low, double close, double volume, uint unixdate)
{

    //eu quero uma cópia local
    this->stockName = QString(*stockName);

    this->open      = open;
    this->high      = high;
    this->low       = low;
    this->close     = close;
    this->volume    = volume;
    this->unixdate  = unixdate;

}




